{template header}
<div>
<span class="a-c block h3" id="logintip"></span>
<div class="w-430 r login-static reg-main">
	<form action="index.php?user-login" method="POST">
	<ul class="col-ul">
		<h2>{lang alreayHasAccount}</h2>
		<li>
			<img src="style/default/user.jpg" height="48" />
			<img src="plugins/socialconnect/style/connect_avatar.png" />
			<img src="{$avatar_url}" height="48" />
		</li>
		<li><span>用户名：</span><input type="text" maxlength="32" onblur="check_username()" class="inp_txt" tabindex="3" id="username" name="username"></li>
		<li><span>密&nbsp;&nbsp;码：</span><input type="password" maxlength="32" onblur="check_passwd()" class="inp_txt" tabindex="4" id="password" name="password"></li>
		<li><input type="hidden" id="tobind" name="tobind" value="{$oauth_from}"><input type="submit" tabindex="6" class="btn_inp" value="{lang bind}" name="submit"></li>
	</ul>
	</form>
</div>
<div class="w-430 r login-static reg-main">
	<form action="index.php?user-register" method="POST">
	<ul class="col-ul">
		<li><span>{lang userName}：</span><input name="username" id="username" type="text" maxlength="{$maxlength}" class="inp_txt" /><label id="checkusername">{$loginTip2}</label></li>
		<li><span>{lang password}：</span>	<input name="password" tabindex="4" id="password" type="password" class="inp_txt" onblur="check_passwd()" maxlength="32" /><label id="checkpasswd">*{lang editPassTip1}</label></li>
		<li><span>{lang renewPass}：</span><input name="repassword" tabindex="5" id="repassword" type="password" class="inp_txt" onblur="check_repasswd()" maxlength="32"/><label id="checkrepasswd"></label></li>
		<li><span>E-mail：</span><input name="email" tabindex="6" id="email"  type="text" class="inp_txt" onblur="check_email()"  maxlength="50"/><label id="checkemail">*{lang registerTip3}</label></li>
		<li><input name="agree" id="agree" type="checkbox"  checked="checked" />{lang registerTip4}"<a href="{url doc-innerlink-{eval echo urlencode('{lang registerTip5}')}}" target="_blank">{lang registerTip5}</a>" <label id="chkagree">&nbsp;</label></li>
		<li><span>{lang Avatar}：</span><img src="{$avatar_url}" /></li>
		<li><input type="hidden" id="tobind" name="tobind" value="{$oauth_from}"><input name="submit" tabindex="8" type="submit" value="{lang regandbind}" class="btn_inp" /></li>
	</ul>
	</form>
</div>
</div>
{template footer}
